feat(AlgebraicTopology): HomologyPretheory for Eilenberg-Steenrod homology#39236
feat(AlgebraicTopology): HomologyPretheory for Eilenberg-Steenrod homology#39236quantumsnow wants to merge 13 commits into
HomologyPretheory for Eilenberg-Steenrod homology#39236Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary a7c945e01fImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
…into homology-pretheory
|
-awaiting-author |
|
|
||
| /-- A morphism in the category `HomologyPretheory`. -/ | ||
| @[ext] | ||
| structure Hom (HP HP' : HomologyPretheory C c) where |
There was a problem hiding this comment.
| structure Hom (HP HP' : HomologyPretheory C c) where | |
| structure Hom (HP HP' : HomologyPretheory.{u} C c) where |
| attribute [reassoc (attr := local simp)] Hom.w | ||
|
|
||
| @[simps] | ||
| instance : Category (HomologyPretheory C c) where |
There was a problem hiding this comment.
| instance : Category (HomologyPretheory C c) where | |
| instance : Category (HomologyPretheory.{u} C c) where |
| id _ := { homₚ _ := 𝟙 _ } | ||
| comp f g := { homₚ _ := f.homₚ _ ≫ g.homₚ _ } | ||
|
|
||
| variable {HP HP' : HomologyPretheory C c} |
There was a problem hiding this comment.
| variable {HP HP' : HomologyPretheory C c} | |
| variable {HP HP' : HomologyPretheory.{u} C c} |
There was a problem hiding this comment.
Thanks. Before I apply these, I just wanted to confirm that this is not necessary for all occurrences of HomologyPretheory. E.g. in lines 112, 121, 140 it is still without explicit universe. (If I understand correctly, this is related to performance but I don't know what the performance impact is in which circumstance.)
Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
This splits out a part of #38369 into a separate PR.
It includes a structure
TopPair.HomologyPretheorycontaining the data for an Eilenberg-Steenrod homology theory and the first Eilenberg-Steenrod axiom as a typeclassEilenbergSteenrod.IsHomotopyInvariant.